#ifndef _Align
#define _Align

#include<iostream>
#include<stdio.h>
#include<string>
#include<vector>
using namespace std;

#include<TROOT.h>
#include<TFile.h>
#include<TTree.h>
#include<TMath.h>
#include<TMinuit.h>

#include<Global.h>



void fcn2(Int_t &, Double_t*, Double_t &, Double_t*, Int_t);
Double_t TransX(Double_t, Double_t, Double_t*);
Double_t TransY(Double_t, Double_t, Double_t*);

static Double_t VecX_[2];
static Double_t VecY_[2];


class Align{
	Int_t Private;
	Global* glob;


public:
	Align(Double_t , Double_t ,Double_t , Double_t );
	~Align();

	void Aligment(Double_t[] );


};

#endif
